package com.itheima.pojo;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@Data
@Table(name = "t_admin")
public class Admin {
    @Id
    private String uid;
    @Column(name = "user_name")
    private String userName;
    private String passWord;
    private String gender;
    private String avatar;
    private String email;
    private java.sql.Date birthday;
    private String mobile;
    private String validCode;
        private String summary;
    private Integer loginCount;
    private Date lastLoginTime;
    private String lastLoginIp;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    private String nickName;
    private String qqNumber;
    private String weChat;
    private String occupation;
    private String github;
    private String gitee;
    private String roleUid;
    private String personResume;
    @Transient
    private List<String> photoList;
    @Transient
    private List<String> roleNames;
    @Transient
    private Role role;

}
